<template>
	<view>
		<view class="goodsBox">
			<view class="box">
				<view class="items" @click="toPage(0,'/pages/pages/goodsDetail/index?id='+item.id)" v-for="(item,index) in goodList" :key="item.id" >
					<image :src="item.Imgurl" mode=""></image>
					<view class="content">
						<view class="title">
							<view>{{item.title}}</view>
						</view>
						<view class="bottom">
							<view class="left">￥<text class="price">{{item.price}}</text></view>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: ['goodList'],
		data() {
			return {

			}
		},
		methods: {
		}
	}
</script>

<style lang="scss">
	@import './index.scss';
</style>
